<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue.js学习</title>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>   <!--引入vue.js-->
</head>
<body>
    <div id="xue">
        {{nihao}}
    </div>
    <script>
        var xue = new Vue({
            el: '#xue',  //绑定id
            data: {
                nihao: 'Hello Vue! 世界你好 !'  //类似于变量 key => value
            }
        })
    </script>
</body>
</html>